package com.supermap.newMessage.entity;

import java.util.Date;

/**
 * @author lxs
 * @Title:最新消息实体
 * @Description:
 * @date 2018/3/14  11:31
 */
public class NewMessage {
    /**
     * 主键
     */
    private int id;
    /**
     * 用户ID
     */
    private int userid;
    /**
     * 被评论人ID
     */
    private int uid;
    /**
     * 用户名称
     */
    private String username;
    /**
     * 消息类型 1咨询 2农情 3灾情 对应的ID
     */
    private int typeid;
    /**
     * 消息类型 1咨询 2农情 3灾情
     */
    private int type;
    /**
     * 评论内容
     */
    private String comment;
    /**
     * 评论时间
     */
    private Date createtime;
    /**
     * 是否阅读 0未阅读 1阅读过
     */
    private int state;
    /**
     * 图片路径
     */
    private String imgurl;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
